Indesign count spelling errors

I had a look at the Indesign library and found only the ability to change the spell check preferences, but not the ability to run a spell check.

Does anyone know of a way to just count the spelling errors? I don’t need them to be corrected, it’s just to check some students’ Indesign documents to see how thorough they are.

Thanks in advance.