Answer :
18 because if you get a cookie and you get one type and you keep doing that until you reach 18 then you have 18 different types of cookies. That's what I think, I'm only in middle school so I'm not really Einstein here. :P