Find all files with the extension ".py" in the current directory, search for the word "include" in each file, print the line number of each occurrence, sort the results, count the number of occurrences of each line number, and print the line number and the number of times it appears.
find . -iname "*.py" | xargs grep 'include' | awk -F: '{ print $2 }' | sort | uniq -c | awk '{print $2 " appears " $1 "times"}'