Add count_by() and find_last()
Fix Python 3 compat
Merge pull request #6 from nathancahill/functions

Add count_by() and find_last()