Allow LTS for counters

Currently LTS is not generated for counters.
I can define state_class: measurement via customization - but LTS is not generated & no errors/warnings in Log.
Propose to add a possibility to use state_class: measurement for counters.

Currently a possible workaround: create a template sensor = this counter.