# DoesNotHaveFlagsCount(HierarchyNodeFlags)

> Gets the number of nodes that do not have all of the specified flags set.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Hierarchy](/engine/6000.5/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule

```csharp
public int DoesNotHaveFlagsCount(HierarchyNodeFlags flags)
```

### Parameters

**** (\[HierarchyNodeFlags]\(/engine/6000.5/script-reference/unity/hierarchy/hierarchynodeflags)): The hierarchy node flags.

### Returns

| Type                                                       | Description                                                |
| ---------------------------------------------------------- | ---------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The number of nodes that do not have all of the flags set. |
