#!/bin/sh

set -eu

for dir in "$@"
do
    n=$(find "$dir" -printf x | wc -c)
    printf '%8d %s\n' "$n" "$dir"
done
