Linux Hide Files From Ls, Piping it to "wc -l" counts the total files and directories, including hidden ones.