exposed needed API in hmmState, necessary for collecting counts
exposed needed API in hmmState
implemente CountsCollector class that gathers counts from a result object