What is a small portable device that counts every step taken throughout the day?

A.stethoscope

B.pedometer

C.otoscope

D.thermometer