Add read-only property for getting text line count