Added getDeltaLineCount method and a test.