Create Countem.py

Coding challenge.  Interesting challenge because you can't use matrix operations because the number of the inner list is variable in size.