This counts all fields even if not visible to user, but ideally it would only count visible fields that need to be filled out still and wouldn't count hidden fields.
For example, we like to include these above drill down sections so that users can quickly see how many questions are left in each section with the hope of "0". However, hidden fields are misleading as a blank count could appear even though all visible fields are filled out.
I do not see anything under 'Calculations Reference' list to include as an IF statement or similar, such as ISVISIBLE or ISHIDDEN.