I am using a catchup subscription like this
and in my handle event I would like to provide some indication of how close to live the subscription is, this does not have to be exact so just knowing the total event count at the start would be sufficient. is
var estimatedTotalEvents = connection.ReadStreamEventsBackwardAsync(streamName, 0, 1,false).Result.LastEventNumber;
the best way to get this number?