Question: how to count how many files are in a folder or directory?
Answer: To count all the files and directories in the current directory and subdirectories, type dir *.