What does count() do when given a value?

It tells us how often that value appears in a listIt counts all the elements in a list

It tells us how often that value appears in a list.