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