replaced counting with default dictionaries
Merge branch 'master' of github.com:baliga-lab/egrin2_django