Added CoreCounter and CoreCounterPool, tests, etc.