Count the waves