adds a counter for API calls (just a helpful little metric)
using a distinct debug namespace for api counter debug
Merge pull request #18 from dominicbarnes/api_counter

Adding a counter for API calls