add support for counter unit (count)