public void updateNumOfLines() {
                for (Map.Entry<Author, Integer> entry: ownerships.entrySet()) {
                        numOfLines = numOfLines + entry.getValue();
                }
        }