The Perforce server uses counters as variables to store the number of the last submitted changelist and the number of the next job. p4 counters provides the current list of counters, along with their values.
See the Global Options section.
Can File Arguments Use
Revision Specifier? Can File Arguments Use
Revision Range? Minimal Access Level Required