Table of Contents

Method Count

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Count<TInput>()

Creates a $count stage.

public static PipelineStageDefinition<TInput, AggregateCountResult> Count<TInput>()

Returns

PipelineStageDefinition<TInput, AggregateCountResult>

The stage.

Type Parameters

TInput

The type of the input documents.