title: How to get instances count for VMSS in Application Insights?
body: <p>I have a Virtual Machine Scale Set (VMSS) with autoscaling rules. I can get the performance metrics of a host but there is no graph for instances count.</p>
  
  <p><a href="https://i.stack.imgur.com/OfpjL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OfpjL.png" alt="Metrics"></a></p>
  
  <p>There is a graph on VMSS settings "Scaling" -> "Run history", like this.</p>
  
  <p><a href="https://roykimsharepoint.files.wordpress.com/2018/02/autoscale9.png" rel="nofollow noreferrer"><img src="https://roykimsharepoint.files.wordpress.com/2018/02/autoscale9.png" alt="Scaling History"></a></p>
  
  <p>But how I can get it from Metrics and place on the dashboard?</p>