Given the Order model in scope, implement Order next_status(Order o) advancing PENDING -> SHIPPED -> DELIVERED (DELIVERED stays), int count_status(const Order *os, int n, Order s) counting matches, and int shipped_revenue(const Order *os, int n) summing total_cents of SHIPPED orders.