Standard LibraryTypesSetMethodscountOn this pagecount Method of Set. count(const Object value) -> integer Returns the number of occurrences of the specified value in the container. Parameters value: The value to count.