counting puzzle