find . -type f | wc -l (for total number of files in the current directory .)
find . -type d -exec sh -c 'echo "$(find "{}" -maxdepth 1 -type f | wc -l) {}"' \; | awk '$1 > 1000 {print}' (number of files greater than 1000 in the current directory .)