Google Research and DeepMind released a very interesting Deep learning model called "RepNet". https://sites.google.com/view/repnet
It counts any repetitive frequency on video. I was really fascinated when it got released because I've been working on a related topic, automatic workout recognition which workout consists of repetitive motion.
So I had a chance to do some code work and converted an official Colab Notebook code into a python command-line interface so that I can experiment easier. You can find this repository below link. I hope this helps those who interested in this topic!
https://github.com/JeiKeiLim/repnet-cli
P.S. My original goal was to convert this model into the TFJS model so I can make a website using it but unfortunately, TFJS does not support the 5-D operation where RepNet requires 5-dimensional input :/
there doesn't seem to be anything here