gamebook is the little brother of textadventure, so gamebook supports only a subset of the textadventure functionality. You can choose "script" as page type then you can add script commands (less than in textadventure mode).
counter is a numeric variable in Quest. If you add a counter named "steps" you can use the counter commands to increase or decrease its value. The internal name of the variable is game.steps then so the commands
IncreaseCounter ("steps")
and
game.steps=game.steps+1
are equivalent