Count total question answered

hi there…how can i detect the total question answered by user?? i have a set of 10 questions…and user can skip any questions he/she like. In the end…I need to show the total questions answered by user out of 10. I’ve tried to look up on tutorial but I still don’t get any. Hope someone can help. Thanks