counting works