What ways are there to count the occurrences of an item in a list?

i don’t understand it why we add lst.count(item) or from where it come ?