tired: ls |wc -l
wired: c=0; for x in *; do ((c++)); done; echo $c
inspired: whatever @mirabilos suggests 😄

#UnixShell #avoiding_the_dreaded_fork()