Make CCppCounts inherit from CObject