Converted the number_of_header_lines() function to the new design.
Authored by: bugman 2008-04-24
Parent: [r5992]
Child: [r5994]