

# Counts


a structure that contains information on the count of resources within a group.

## Contents


 ** count **   <a name="inspector2-Type-Counts-count"></a>
The number of resources.  
Type: Long  
Required: No

 ** groupKey **   <a name="inspector2-Type-Counts-groupKey"></a>
The key associated with this group  
Type: String  
Valid Values: `SCAN_STATUS_CODE | SCAN_STATUS_REASON | ACCOUNT_ID | RESOURCE_TYPE | ECR_REPOSITORY_NAME`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/inspector2-2020-06-08/Counts) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector2-2020-06-08/Counts) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector2-2020-06-08/Counts) 