removed .idea
extracted tokenCount