How do you measure the duty cycle of sinus with a arduino uno?

Unkown21:
My school project is to measure the frequency output from a buzzer.

That sounds fun.

What have you done so far?