I believe gwc and gsort are part of coreutils based on this:
<span style="color:#323232;">$ gwc --help
</span><span style="color:#323232;">Usage: gwc [OPTION]... [FILE]...
</span><span style="color:#323232;"> or: gwc [OPTION]... --files0-from=F
</span><span style="color:#323232;">Print newline, word, and byte counts for each FILE, and a total line if
</span><span style="color:#323232;">more than one FILE is specified. A word is a nonempty sequence of non white
</span><span style="color:#323232;">space delimited by white space characters or by start or end of input.
</span><span style="color:#323232;">
</span><span style="color:#323232;">With no FILE, or when FILE is -, read standard input.
</span><span style="color:#323232;">
</span><span style="color:#323232;">The options below may be used to select which counts are printed, always in
</span><span style="color:#323232;">the following order: newline, word, character, byte, maximum line length.
</span><span style="color:#323232;"> -c, --bytes print the byte counts
</span><span style="color:#323232;"> -m, --chars print the character counts
</span><span style="color:#323232;"> -l, --lines print the newline counts
</span><span style="color:#323232;"> --files0-from=F read input from the files specified by
</span><span style="color:#323232;"> NUL-terminated names in file F;
</span><span style="color:#323232;"> If F is - then read names from standard input
</span><span style="color:#323232;"> -L, --max-line-length print the maximum display width
</span><span style="color:#323232;"> -w, --words print the word counts
</span><span style="color:#323232;"> --total=WHEN when to print a line with total counts;
</span><span style="color:#323232;"> WHEN can be: auto, always, only, never
</span><span style="color:#323232;"> --help display this help and exit
</span><span style="color:#323232;"> --version output version information and exit
</span><span style="color:#323232;">
</span><span style="color:#323232;">GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
</span><span style="color:#323232;">Full documentation <https://www.gnu.org/software/coreutils/wc>
</span><span style="color:#323232;">or available locally via: info '(coreutils) wc invocation'
</span>