---
title: "Collection count apply mapping rule"
slug: "collection-count-apply-mapping-rule"
abstract: "Introduction to the Collection count apply mapping rule in Sitecore Data Exchange Framework."
---
# Collection count apply mapping rule

This rule is used to ensure a value is a collection with a number of members within a specific range.

| Expected type of the value being written to the target object | `System.Collections.ICollection` |
| --- | --- |
| Template location | *Data Exchange/Framework/Data Access/Apply Mapping Rules/Collection Count Mapping Rule* |

## Template fields

| Field name | Description |
| --- | --- |
| Minimum Count | The collection must contain at least this many members. |
| Maximum Count | The collection must not contain more than this many members. The default value is -1, which means that the collection can contain an unlimited number of members. |