name = 'count/3' slug = 'find the number of occurrences of an element in list' description = '''\

count(X, L, N): N is the number of times the element X appears in the list L.

?- count(1, [1,2,1,3,1], N).
  N = 3.
''' hint = {}