Counting objects using numbers up to 3