Contraction waves counting