One application of the structured buffer stream types is emitting pixel data in a structure, from the pixel shader. In this scenario, it is necessary to determine how many structures are emitted - luckily, this can be manipulated without ever reading back from the GPU. D3D11 provides the
CopyStructureCount
method, to copy the number of written items into a buffer. That buffer can then be used with any of the draw indirect methods.