Used a preg match to simplify the output of count.php