protected static int initOccurrencesNumber(PsiNameIdentifierOwner nameIdentifierOwner) {
    return getNumberOfOccurrences(nameIdentifierOwner, reference -> true);
  }
protected static int initOccurrencesNumber(PsiNameIdentifierOwner nameIdentifierOwner)