/// <summary>
 /// Get number of available wallet accounts (total or filtered by public key)
 /// </summary>
 /// <param name="enc_pubkey">HEXASTRING (optional). If provided, return only accounts of this public key</param>
 /// <param name="b58_pubkey">String (optional). If provided, return only accounts of this public key. Note: If use enc_pubkey and b58_pubkey together and is not the same public key, will return an error</param>
 /// <param name="start">Integer (optional, default = 0). If provided, will return wallet accounts starting at this position (index starts at position 0)</param>
 /// <param name="max">Integer (optional, default = 100). If provided, will return max accounts. If not provided, max=100 by default</param>
 /// <returns>Returns an integer with total</returns>
 public static Task <uint> GetWalletAccountsCountAsync(this IPascalCoinClient client, string enc_pubkey = null, string b58_pubkey = null, int?start = null, int?max = null)
 {
     return(Task.Run(() => client.GetWalletAccountsCount()));
 }