public int size() {
        return id2FieldUpdates.size();
    }
Get the number of field updates in this document update.

@return the size of the List of FieldUpdates
document/src/main/java/com/yahoo/document/DocumentUpdate.java