A shot is 1 1/2 ounces.
-----------------------
In a pint there is 16 oz.
16 divided by 1.5 = 10.667 shots in a pint.
-----------------------------
In a quart there is 32 ounces.
32 divided by 1.5 = 21.33 shots in a quart.
-------------------------------
In a fifth there is 25.6 ounces
25.6 divided by 1.5 = 17 shots in a fifth.