added endangermentcounts.py