Fixed count bug on header