Pedometer - Make RuuviTag to count steps

This is something for example healthcare sector companies often ask from us. A pedometer algorithm would be a useful feature to have. Is anyone familiar with those?

https://www.microchip.com/promo/pedometer-demo

Seems that Nordic Semiconductor Thingy:52 has a step counter feature:

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.rds%2Fdita%2Frds%2Fdesigns%2Fthingy%2Fintro%2Ffrontpage.html

There’s a lot of literature around, maybe someone even has source code for an implementation?
https://www.analog.com/en/analog-dialogue/articles/pedometer-design-3-axis-digital-acceler.html