I think he jus wats to findout how many KEYWORDS are there present in a given file..

or maybe, still check if he has written them correctly or no (spelling)..
Well, if u are into JAVA, u can use Netbeans or JCreator,and it will highlight the keywords in a different color that the rest of the programming code..

---
btw, wrong section..shud be posted in programming section..