total orders by a customer, some kachda code :(