This is a very old joke. Maybe 35 to 40 years ago I first heard it with the ceiling fan being operated by the no. of times someone masturbated.