Script to calculate occurrences locally. Change front end
Merge branch 'local-countries'