Implement charm-info and charm-missing counters.

Those stats counter are used in the legacy API.