Counting in two different ways