Added ->count functionality to select_statement. Returns COUNT(*) value, drops orderby, limit clauses