Memory platform counters

Adding summingbird counter support for the Memory platform.
I was following the set of abstractions on the other platforms (where the counter and incrementor are separate objects) to keep things consistent.