Memory platform counters

Adding summingbird counter support for the Memory platform.
:thumbsup: