How to count files in the current folder using Bash?

\ls -afq | wc -l

unix.stackexchange.com/a/90152