private static long distinctCalls(@NotNull List<? extends PsiMethodCallExpression> calls) {
    return StreamEx.of(calls).distinct(call -> call.getMethodExpression().getReferenceName()).count();
  }
private static long distinctCalls(@NotNull List<? extends PsiMethodCallExpression> calls)