Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32h5/STM32H523/TIM3/TIM3_CNT#0x0
TIM3 counter
Counter value
Value depends on IUFREMAP in TIMx_CR1.
https://github.com/modm-io/cmsis-svd-stm32