The filling gap counter formerly described has been improved. The apparatus detects and counts the number of holes (irregularities) of cigarettes. A comparison of the results obtained respectively by manual and mechanical control showed the judgement formed by an examiner to be unsatisfactory. The ejection of faulty cigarettes as well as the automatical recording of the rate of irregularities are prerequisites to the rapid discovery of the source of defects.