25.
What is the purpose of the count() method for lists and tuples?