:: [a] -> a -> Int package:Unique

countElem gets the number of occurrences of the specified element. Example:
countElem 'o' "foo bar" == 2