View the original community article here
Last tested: Nov 14, 2017
Count the number of models:
Count the number of views:
The output will be a number in parens followed by an array of files, the number is the count of the model or view files.