Is there a way to display a Cloudwatch metric showing the number of running EC2 instances built from a given AMI at a given time. I'm trying to track the size of a system that scales up and down over the course of the day, and I'd like to add a graph to a Cloudwatch dashboard if at all possible. However, when I open the metrics section of Cloudwatch all I see are the same instance-level stats I'd get looking at a specific EC2 instance, and all my Google searches ultimately take me back to instance-level metrics.
Is there a simple metric in Cloudwatch that counts the number of running EC2 instances for an AMI, and if so, how do I add start tracking that in Cloudwatch?