New FM line command L: calculate line count