New assertion 'hasLineCount' for multiline strings (fixes #214)