find /usr -type f -printf "%h\n" |uniq -c
が速いんじゃないかな。