resource counters working
Merge pull request #29 from JacobKorn/resource_counters

resource counters working