oops I guess this doesn't listen it connects to a socket. So then say:

"count the number of words in text received from a TCP socket"