fix up line count methods.