Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/TIM4/TIM4_CNT#0x0
TIM4 counter
Least significant part of counter value
Value depends on IUFREMAP in TIMx_CR1.
https://github.com/modm-io/cmsis-svd-stm32