A cow in a forest of the Alajuela province of Costa Rica meanders near the entrance to a cave where researchers are gathering data on vampire bats and the ecology of the rabies virus.