Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4+/STM32L4P5/TIM5/TIM5_CNT#0x0
TIM5 counter
Least significant part of counter value
https://github.com/modm-io/cmsis-svd-stm32