I've got a counting dog. For much of her life there were 4 people living in the house. Intermittently through the day she would walk around the house until she counted 4 people, then settle down. It didn't really matter which 4 people it was, just that there were 4, if there were more people in the house she'd stop at 4. As children moved away she'd have bad periods where she couldn't make quota and would keep searching. Eventually she'd update the target house population and only count to 3 or now 2.