looking at your file, i come up with 14, not 13, for the 1st part. please double-check your answer? i used...

=COUNTIF(Table1[quantity in box A],">0")

working on the 2nd part, but that may need a helper column