add warning for header count

warning if header count is different form schema header count
improves regexp support from schema