Counting products when stocktaking