Memory platform counters

Adding summingbird counter support for the Memory platform.
yep, can do. I'll make another PR when that is merged?