Created  a new model named get_stats_model.php