Difference between Hertz and Duty Cycle
Yes Hertz is cycles per second but refers more broadly to say sine waves, square waves, events, etc.   Duty cycle is only loosely related in this context.

So 50 cycles per second of a square wave is 50Hz regardless of whether it has a 50/50 duty cycle or a 10/90, or whatever it is.