Count the number of users task in a process

Greetings everyone,
I would like to be able to have the total number of user tasks that a process has so that the user can know how many tasks they will perform until the process ends, is this possible in CAMUNDA 8?

I don’t see how that could work. Gateways can make the token skip some user tasks depending on its path. For example: if user enters “no” in the first user task, then maybe the next user task is bypassed (“do you have any allergies?”).