- It returns count based on params - count(foo) counts all elements - count(foo, 'bar', 'baz') counts number of bars and bazs in foo