in a cookie mix we find rain cookies, walnut cookies and pinwheel cookies in a ratio of 2:3:7. If a bag of the mix contains 112pinwheel cookies how many cookies are there in total