counts.sh: update for new test directory structure