Return the number of elements anElement is equal to. The result of this is either one or zero because two equal elements cannot be stored in a set.