ls - is listing the contents of the present working directory. Its output is piped to the command grep '?*cw1' which is searching for files that have the name that fits the pattern ?*cw1. The output of this is piped to wc -l which lists a count of the number of files with this name. ?* are regular expressions (wild cards). ? matches any 1 character and the * matches any number of characters after the ? up to the cw1 string