Add a function to get a count of all elements in a list
#205