Change count script to not include phpmyadmin