AWK WORD COUNT SCRIPT

I'm trying to make an awk word count script that implements the following expample...
if no input is given then "usage is awc file..."
else it counts the number of words in the file(s) and prints out the total the fields are line count, word count, character count, and total.

$ ./awc
Usage is "awc file..."
$ cat file1
This is one line
This is another
$ ./awc file1
2 7 31 file1
$ cat file2
This is one line
This is another
This is the third line
$ ./awc file1 file2
2 7 33 file1
3 12 56 file2
5 19 89 total
$ _

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.