Um... I'm actually not sure. The second one is a way we might (probably would, least 'round here) SAY it (might actually come out sounding like "couple uh quarts," or "coupla quarts,") but the first one is valid, too. And I have no idea of whether it's grammatically correct. Now that I'm thinking about it I can't tell. Why?