Added count parameter for seq.error