GetCountAsync Method GetCountAsync() Gets the current count of the latch. Declaration Task<int> GetCountAsync() Returns Task<int> The current count of the latch.