Journal of Applied Silliness · Vol. 1, No. 3

9 October 2026

Two Is a Number, Three Is a Mood: Counting Dogs and Cats With a Neural Network

We asked for six dogs. The photographs we got had, on average, 2.7.

¹ Aerodite Institute for Applied Silliness (a subsidiary of a hunch). ² Claude Anthropic

Download PDF (4 pages)
Read it as text

Abstract

Vendors say their software “understands” your photos. We asked one how far its understanding goes, using the one thing a toddler can check: how many. For one dog and two dogs the answer is reassuring. For three the model is better than chance and wrong most of the time. For four to six dogs the results contained, on average, about 2.6 dogs. Cats did slightly better and are, on this evidence, easier to count than dogs.

1. Methods

Photographs and search. The same 118,287 photographs from COCO (Common Objects in Context, a public collection of everyday photographs with human-written captions and object labels), the same two CLIP models bundled in DupeCatcher, and the same ranking by similarity to the typed phrase as in our earlier paper. The app’s own search screen was not used. The queries below were written down on October 9, 2026, before any result was seen.

For each of “one” through “six” followed by “dog” or “cat” (“dogs” and “cats” from two up), we took the 24 best matches and counted how many contained exactly that many dogs or cats according to COCO’s own object annotations (crowd annotations excluded). The comparison point is the base rate: among all COCO photographs that contain at least one dog (4,385) or cat (4,114), the share that contain exactly that number.

2. Results

Asked forDogs: exactly that many, top 24Dogs: base rateCats: exactly that many, top 24Cats: base rate
one1984%2488%
two2212%2210%
three91.9%50.95%
four10.8%40.34%
five10.4%20.19%
six10.7%*10.24%*
Table 1. *The base rate for six is “six or more.” Annotation errors in COCO are not corrected.

Results with exactly the number asked for (of 24), dogs and cats

dogscats
04812162024onetwothreefourfivesixnumber asked forof 24 resultsdogs, one: 19dogs, two: 22dogs, three: 9dogs, four: 1dogs, five: 1dogs, six: 1cats, one: 24cats, two: 22cats, three: 5cats, four: 4cats, five: 2cats, six: 1dogscats
Figure 2. Both curves fall off a cliff after two. Cats hold on slightly better at four.
View the data
dogscats
one1924
two2222
three95
four14
five12
six11

How many animals the results actually contained

dogscats
0123456onetwothreefourfivesixnumber asked foraverage animals per resultdogs, one: 1.14dogs, two: 1.96dogs, three: 2.46dogs, four: 2.58dogs, five: 2.57dogs, six: 2.68cats, one: 1cats, two: 1.92cats, three: 2.3cats, four: 2.48cats, five: 3.61cats, six: 3.73what was asked forcatsdogs
Figure 3. Average annotated animals per photograph, among results that had any. A model that could count would follow the dashed line.
View the data
dogscatswhat was asked for
one1.1411
two1.961.922
three2.462.33
four2.582.484
five2.573.615
six2.683.736

“One dog” performed no better than the base rate, because 84% of dog photographs contain one dog and asking for “a dog” would have done as well. Two is a real result: 22 of 24 against a base rate of 12%. Three is where it frays: 9 of 24 is about twenty times better than chance for dogs, and still wrong 15 times. At four and above, only 1 of the 24 dog results had the right count in each case (for cats, 4, 2 and 1). The photographs it did return averaged 2.6 to 2.7 annotated dogs, among those that contained any dog. For “three dogs,” the top 100 contained exactly three dogs 19 times.

Why “one dog” is easy: share of dog photographs with exactly N dogs

0%20%40%60%80%100%one: 84.4%84.4%onetwo: 11.8%11.8%twothree: 1.9%1.9%threefour: 0.8%0.8%fourfive: 0.4%0.4%fivesix: 0.7%0.7%six
Figure 4. Most dog photographs contain one dog. Asking for “one dog” is asking for the average dog photograph. (“Six” is six or more.)
View the data
dog photographs
one84.4%
two11.8%
three1.9%
four0.8%
five0.4%
six0.7%

Cats climbed higher: asked for five or six, the photographs averaged 3.6 and 3.7 cats. We did not find out why, and we are not going to guess in print.

Exactly the right count among the 100 best matches

dogscats
020406080100one · dogs: 8282one · cats: 9494onetwo · dogs: 6262two · cats: 7777twothree · dogs: 1919three · cats: 1010threefour · dogs: 77four · cats: 1010fourfive · dogs: 55five · cats: 22fivesix · dogs: 33six · cats: 22six
Figure 5. Widening to 100 results tells the same story: two is reliable, three is a mood.
View the data
dogscats
one8294
two6277
three1910
four710
five52
six32

3. Limitations

  • COCO’s object annotations were made by people and contain errors. We did not check any count by hand.
  • Only dogs and cats, and only in COCO’s kind of photograph.
  • The software’s own manual predicted this: models of this type were never rewarded for counting, because a caption only has to fit better than its competitors.
  • One run, one Mac.

4. Conclusion

The model can count to two. After that it is giving you its general feeling about dogs.

Competing interests: as declared in Vol. 1, No. 1. The first author’s company makes and sells DupeCatcher.

ArithmeticDogsCatsTom HarnishClaude