Find all files in this directory, including the files in sub-directories, and exclude all files that start with a period (dot files) and any directories named .thumbs. Then pass the list of results to the wc command to get a total count:
find . ! -name ".*" ! -path "*.thumbs*" -type f | wc -l




