public int size() {
        return nodeMap.size();
    }
Returns the number of members.

@return Returns the number of members.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java