Predicate HapaxLegomenon::countOccurrences

Gets the number of identifiers and string literals that refer to name.

int countOccurrences(string name)