static int frequency(Collection> c, Object o) Returns the number of elements in the specified collection equal to the specified object.