# NxStateCounts Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

## Inheritance

* System.Object
  * NxStateCounts

## Syntax

```
[ValueClass]
public class NxStateCounts : INxStateCounts
```

## Constructors

| Name | Description |
| --- | --- |
| [NxStateCounts()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.-ctor.htm#Qlik_Engine_NxStateCounts__ctor) |  |

## Properties

| Name | Description |
| --- | --- |
| [Alternative](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Alternative.htm#Qlik_Engine_NxStateCounts_Alternative) | Number of values in alternative state.<br><br>JSON property name: qAlternative |
| [Deselected](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Deselected.htm#Qlik_Engine_NxStateCounts_Deselected) | Number of values in deselected state.<br><br>JSON property name: qDeselected |
| [Excluded](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Excluded.htm#Qlik_Engine_NxStateCounts_Excluded) | Number of values in excluded state.<br><br>JSON property name: qExcluded |
| [Locked](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Locked.htm#Qlik_Engine_NxStateCounts_Locked) | Number of values in locked state.<br><br>JSON property name: qLocked |
| [LockedExcluded](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.LockedExcluded.htm#Qlik_Engine_NxStateCounts_LockedExcluded) | Number of values in locked excluded state.<br><br>JSON property name: qLockedExcluded |
| [Option](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Option.htm#Qlik_Engine_NxStateCounts_Option) | Number of values in optional state.<br><br>JSON property name: qOption |
| [Selected](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.Selected.htm#Qlik_Engine_NxStateCounts_Selected) | Number of values in selected state.<br><br>JSON property name: qSelected |
| [SelectedExcluded](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxStateCounts.SelectedExcluded.htm#Qlik_Engine_NxStateCounts_SelectedExcluded) | Number of values in selected excluded state.<br><br>JSON property name: qSelectedExcluded |