count
Returns the number of occurrences of an element in this multiset (the count of the element). Note that for an Object.equals-based multiset, this gives the same result as Collections.frequency (which would presumably perform more poorly).
Note: the utility method Iterables.frequency generalizes this operation; it correctly delegates to this method when dealing with a multiset, but it can also accept any other iterable type.
Return
the number of occurrences of the element in this multiset; possibly zero but never negative
Parameters
element
the element to count occurrences of