A hummingbird and oriole feeder having a nectar reservoir that allows the beak of a feeding bird to access a nectar access point to the nectar. An optical sensor senses the bird's beak entering the nectar access point. The optical sensor can include an optical transmitter forming a beam of light that is received by an optical receiver. The intrusion of a bird's beak into the nectar access point, which occurs when the bird is feeding on the nectar, interrupts the beam of light, creating a change in an electrical signal. The electrical signal is sent to a processing unit that counts each time a bird's beak penetrates the nectar access point and displays the count on the display unit. The count can be reset to zero by a reset switch. There can be multiple nectar access points, which are each counted, using a multiplexer.