metric is partially working for returning vm count.