public static int getVariableNameUseCount(String name, VariableKind variableKind, String propertyName, PsiType type) {
    return StatisticsManager.getInstance().getUseCount(createVariableUseInfo(name, variableKind, propertyName,
                                                                             type == null ? null : type.getCanonicalText()));
  }
public static int getVariableNameUseCount(String name, VariableKind variableKind, String propertyName, PsiType type)