I'm trying to check how many times the sinewave behaviour has completed a cycle but with little success. I've tried comparing the cycle position. Something like...