Corrected count line method error.