Find all files with the extension ".txt" in the current directory and its subdirectories, search for the word "text" in each file, sort the results, and count the number of unique occurrences.
find . -iname "*.txt" -exec grep -i "text" {} \; | sort | uniq -c