simple counting works