Coffee beans are not ACTUALLY beans at all but rather the seeds of berries that grow on trees.
There are usually 2 seeds or beans per cherry. Occasionally, the fruit contains only one round bean called a Peaberry.  About 10% of a trees production will be Peaberries.