Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l5/STM32L552/TIM6/CNT#0x0
counter
CNT
UIFCPY or Res
https://github.com/modm-io/cmsis-svd-stm32