How To Count Tokens In Compiler Design