I assume you can differentiate between questions (e.g. question 1, question 2 etc.). Then you could do a database retrieve of all question objects for question 1, with enumeration value X. Follow up the retrieve with a count operation and you should have the number you are looking for