Indicating or counting the number of dispensed doses or of remaining doses