I need help with a basic script

a) Total number of words in the file.

b) Total number of different words in the file.

How can I use the translate and/or unique commands to accomplish this

back in my day, we used to listen in class. then we would learn how to do our own work.

refer to item 6:

here's the original text before he edited it:

Thanks for your incorrect diagnosis. I'm actually trying to teach myself scripting and this was a problem in the book that I am using to learn from. So number six does not apply to me, but I appreciate the attempted moral rebuke. LOL:b:

The approach we are trying to encourage is to include phrases such as ".... and this is how far I got ..." or ".... I am trying to use XXX but it's not doing what I thought it would....".

There was a story about teaching somebody to fish.......