Initial commit.
* More efficient counter collection - collect all at once instead of one-by-one.
* Fixed incorrect instance names in counters.