# Count twins

Endpoint: POST /twins/count
Version: v3
Security: oauth2

## Request fields (application/json):

  - `modelFilter` (object)
    Model Filter Class for Get Twins Request.

  - `modelFilter.modelIds` (array)
    Array of twin model Id twins to retrieve.

  - `modelFilter.exactModelMatch` (boolean)
    True to only include twins that are instances of the exact model id specified,
False(default) to include twins that are instances of the model id or any of its subclasses.

  - `relationshipFilter` (object)
    Get Twins Request Relationship Filter

  - `relationshipFilter.relationshipDirection` (string)
    Twin Relationship Direction.
    Enum: "Incoming", "Outgoing", "IncomingOrOutgoing"

  - `relationshipFilter.relationshipNames` (null | array)
    Array of related relationship names.

  - `relationshipFilter.relatedModelFilter` (object)
    Model Filter Class for Get Twins Request.

  - `locationFilter` (object)
    Location Filter Class for Get Twins Request.

  - `locationFilter.locationId` (null | string)
    Location Id to filter the twins.

  - `dateFilter` (object)
    Date Filter Class for Get Twins Request.

  - `dateFilter.lastUpdatedAfter` (null | string)
    Filters twins with LastUpdatedTime greater than the given date time.

  - `dateFilter.lastUpdatedBefore` (null | string)
    Filters twins with LastUpdatedTime less than the given date time.

  - `propertyFilter` (object)
    Represents a group of filter specifications. Contains a list of individual filter specifications.

  - `propertyFilter.field` (null | string)
    Gets or set the field Name.

  - `propertyFilter.operator` (null | string)
    Gets or sets the operator. Forwards the value to the base class.

  - `propertyFilter.value` (any)
    Gets or sets the value.

  - `propertyFilter.filterConditionOperator` (string)
    Enum: "And", "Or"

  - `propertyFilter.filters` (array)
    A list of filter group specifications represented by FilterSpecificationDto objects.

## Response 400 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

