Study finds bees may know math