Question: How can I count the repeating number of some certain expression in a list?

For example, in the list [1,1,1,1,2,4,6,1,9], how many 1s are there?

Is there a procedure in Maple? Or how can I manage to do it?

Please Wait...