Count element

Count the number of appearances of an element in a list.

count_element(List | Vector, Element)

Given a list, vector or relation and an element, returns the number of appearances of such element in the object.

count_element(List | Vector)

Given a list, vector or relation, returns a relation between the elements and the number of appearances.