count_files challenge accepts wrong answer only
This is quite straightforward:
# You have a new challenge!
# Count the number of files in the current
# working directory. Print the number of
# files as a single integer.
#
bash(0)> ls
README
access.log
bash(0)> ls -l
total 12
-rw-r--r--. 1 501 dialout 145 May 3 20:32 README
lrwxrwxrwx. 1 501 dialout 23 Feb 10 20:57 access.log -> ../../common/access.log
bash(0)> ls | wc -l
2
bash(0)> ls -l | wc -l
3
# 👍 👍 👍 Correct!