counts.sh: implement using find, keep old version for reference