make a list of your files to process with the 'ls' command and read the filenames in as paramaters and have your script run through them in a while loop... like so:
#!/bin/sh
FILELIST='myfile.lst'
ls -lt | grep -v "unwanted_file" | awk '{print $9}' >> $FILELIST
LINES=`cat $FILELIST`
for i in $LINES
do
./count.sh $i
sleep 5
done
rm $FILELIST
echo "Complete."