Infer the number of files in a directory
Run within a directory passed as an argument