Returns the number of items in a set.