For starters, hens can count — at least to six. They can be taught that food is in the sixth hole from the left and they will go straight to it. Even chicks can do basic arithmetic, so that if you shuffle five items in a shell game, they mentally keep track of additions and subtractions and choose the area with the higher number of items. In a number of such tests, chicks do better than toddlers.

A lengthy study this year from the University of Bristol in Britain, “The Intelligent Hen,” lays out the evidence for the chicken as an intellectual. The study also notes that hens are willing to delay gratification if the reward is right.

Researchers in one study gave hens the option of two keys, one of which would wait two seconds and then give the hen three seconds of food, and the other would force a wait of six seconds but offer 22 seconds of food. After learning that trade-off, 93 percent of hens preferred the delay with more food.

Chickens communicate with different calls to warn about ground predators and birds of prey. Still other calls signal food.

Hens are social animals, preferring the companionship of those they know to strangers. They recover more quickly from stress when they are with an acquaintance.

Their brains are good at multitasking, for the right eye looks out for food, while the left watches for predators and potential mates. Poultry watch television, and, in one experiment, learned from watching birds on TV how to find food in particular bowls.

Look, farmbirds are not Einsteins. But evidence is mounting that they’re smarter than we have assumed, and just because they don’t have big brown eyes doesn’t mean that they should be condemned to spend their lives jammed into tiny cages in stinking, fetid barns, with bodies of dead birds sometimes left rotting beside live ones.