public int numberOfAttributes() {
        return attributes.size();
    }
Returns the number of attributes of this item.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/document/Item.java