public java.util.List<InstanceCount> getInstanceCounts() {
        if (instanceCounts == null) {
            instanceCounts = new com.amazonaws.internal.SdkInternalList<InstanceCount>();
        }
        return instanceCounts;
    }
<p>
The number of instances in this state.
</p>

@return The number of instances in this state.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java