Get counter without modifying it

Hi! I’m trying to make a command which will access the current value of another counter without modifying it. Is there any way to do that? Thanks!

At the moment we do not have a way to query the count without also incrementing it.