Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32U599/TIM2/CNT#0x0
counter
Least significant part of counter value
Most significant part counter value (on TIM2 and TIM5)
Most significant bit of counter value (on TIM2 and TIM5)
https://github.com/cmsis-svd/cmsis-svd-data