Allow purchase count to be manually set if needed. See #215