Justin and his children went into a bakery and where they sell cookies for $0.75 each and brownies for $1.25 each. Justin has $15 to spend and must buy no less than 12 cookies and brownies altogether. If Justin decided to buy 7 brownies, determine the maximum number of cookies that he could buy.