

# Statistics
<a name="API_Statistics"></a>

A map of key-value pairs for all supported statistics. For issues with missing or unexpected values for this API, consult [ Fleet indexing troubleshooting guide](https://docs.aws.amazon.com/iot/latest/developerguide/fleet-indexing-troubleshooting.html).

## Contents
<a name="API_Statistics_Contents"></a>

 ** average **   <a name="iot-Type-Statistics-average"></a>
The average of the aggregated field values.  
Type: Double  
Required: No

 ** count **   <a name="iot-Type-Statistics-count"></a>
The count of things that match the query string criteria and contain a valid aggregation field value.  
Type: Integer  
Required: No

 ** maximum **   <a name="iot-Type-Statistics-maximum"></a>
The maximum aggregated field value.  
Type: Double  
Required: No

 ** minimum **   <a name="iot-Type-Statistics-minimum"></a>
The minimum aggregated field value.  
Type: Double  
Required: No

 ** stdDeviation **   <a name="iot-Type-Statistics-stdDeviation"></a>
The standard deviation of the aggregated field values.  
Type: Double  
Required: No

 ** sum **   <a name="iot-Type-Statistics-sum"></a>
The sum of the aggregated field values.  
Type: Double  
Required: No

 ** sumOfSquares **   <a name="iot-Type-Statistics-sumOfSquares"></a>
The sum of the squares of the aggregated field values.  
Type: Double  
Required: No

 ** variance **   <a name="iot-Type-Statistics-variance"></a>
The variance of the aggregated field values.  
Type: Double  
Required: No

## See Also
<a name="API_Statistics_SeeAlso"></a>

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/iot-2015-05-28/Statistics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/Statistics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/Statistics) 