Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G431/TIM6/CNT#0x0
counter
Low counter value
UIF Copy
https://github.com/modm-io/cmsis-svd-stm32