Added tokenCount() functions.