Memory platform counters

Adding summingbird counter support for the Memory platform.
Yea, that is a good idea. I'll add this change, thanks!