/// <summary>
 /// Log a counter.
 /// </summary>
 /// <param name="client">The statsd client instance.</param>
 /// <param name="name">The metric name.</param>
 /// <param name="count">The counter value (defaults to 1).</param>
 public static void LogCount(this IStatsd client, string name, int count = 1)
 {
     client.LogCountAsync(name, count).ConfigureAwait(false).GetAwaiter().GetResult();
 }
 public static void LogCount(this IStatsd client, string name, int count = 1)
 {
     client.LogCountAsync(name, count)?.Wait();
 }