+#echo dir is $dir
+
+#set -o xtrace
+##hmmm: how to turn off tracing thing?
+
+ find "$dir" -type f $phrases >$NAME_LIST_TEMP_FILE
+
+#echo ====================================================
+#echo file holds these matches:
+#cat $NAME_LIST_TEMP_FILE
+#echo ====================================================
+
+ while read line; do
+#echo line is $line
+ count=$(grep -h -v -c "^[ ]*$" $line)
+ TOTALS=$(($TOTALS + $count))
+#echo total is $TOTALS now
+ done < "$NAME_LIST_TEMP_FILE"
+
+ rm $NAME_LIST_TEMP_FILE
+
+done