List functions

count() counts the items in the given list
map() creates a new list by mapping a list of values using a list of indices