Get the number of lines by using BODYSTRUCTURE.