An inhalation device for delivering doses of medicament to a user comprising: -a canister (5), said canister being adapted to accommodate the medicament to be dispensed to a user, and - a counter (15) which is connected to the canister (5). According to the invention - the canister (5) is adapted to receive the counter (15) on a base end (6a), - the counter and/or the canister further having contact parts (18, 20) for their attachment having means for increasing the friction and thereby allowing the counter to fixedly be attached onto the canister in a range of different positions in the lengthwise direction, - the counter further being adapted to during the process to assemble the counter to the canister, be urged onto the canister until the length of the counter and canister together is within a predefined tolerance of a predefined length.