Allow filtering by availability zone for exact_count with ec2

Fixes #8863