Add function to get the max value of a sketch counters