How to statistics chat room content?

If there are four people type “apple”

how to count it ? ex: apple x4

just like Twitch Plays Pokémon

PS:it’s my first to do this,which compiler is suitable for beginner?

thank!

What programming language are you familiar with? If none, start there. I suggest Python or Java, either is fine.

EDIT:

  1. You need to familiarize yourself with a language
  2. Make a program that connects to the Twitch IRC server
  3. Listen to messages of some channel and match for the word “apple”
  4. profit?