thorough tests for particletype counter implemented and passed. See prev
commit for more TODO.