Memory platform counters

Adding summingbird counter support for the Memory platform.
Should we make that value private and make an api that returns Option[blah] instead of the exception? That way we can handle it at the call site of what we want to do and avoids needing exception handling code.