Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L15xxE/TIM9/CNT#0x0
counter
TIM9 counter
https://github.com/cmsis-svd/cmsis-svd-data