Create get_number_errors.php

grabbing data for the home page and putting it into an encoded array for the js to accept