I have a Nightbot command for Twitch that outputs a basic "[USER] is a/an [ADJECTIVE] [NOUN] [CLAUSE]" type sentence, with each pulling from a pastebin list. This all functions as I want it to. However, I am trying to figure out how to create a stats command for it that will display the number of items in each list, and the total number of combinations. Ideal output would be something like "Command has COUNT1 adjectives, COUNT2 nouns, and COUNT3 clauses for a total of [COUNT1*COUNT2*COUNT3] combinations!"
How can I achieve this?
Alternatively, if it's not possible, is there a way to force nightbot to return a specific line from a pastebin? I have a hacky workaround in mind if I can do that.