The present disclosure relates to a counting mechanism (2) for a drug delivery device (1) comprising a first counting member (4) arranged for displaying a counted number and being biased to move in a first rotational direction and a connecting member (5) having a dose setting position and a dose dispensing position, wherein, in the dose setting position, the connecting member (5) impedes a rotation of the first counting member (4) in the first rotational direction, and wherein, in the dose dispensing position, the connecting member (5) permits the first counting member (4) to rotate in the first rotational direction.