Returns the current number of elements that the writer can write to the stream without creating an overflow condition in the stream.