/// <summary> /// Gets a count of all of the shop's <see cref="ScriptTag"/>s. /// </summary> /// <param name="filter">Options for filtering the result.</param> /// <param name="cancellationToken">Cancellation Token</param> public virtual async Task <int> CountAsync(ScriptTagCountFilter filter = null, CancellationToken cancellationToken = default) { return(await ExecuteGetAsync <int>("script_tags/count.json", "count", filter, cancellationToken)); }
/// <summary> /// Gets a count of all of the shop's <see cref="ScriptTag"/>s. /// </summary> /// <param name="filter">Options for filtering the result.</param> public virtual async Task <int> CountAsync(ScriptTagCountFilter filter = null) { return(await ExecuteGetAsync <int>("script_tags/count.json", "count", filter)); }