#! /bin/bash
#count files under subtree.
find $1 -type f -print | wc -l

