Add expectElement support for both count and contains

I noticed while trying to incorporate your helpers that `expectElement` didn’t support both a count and a text matcher. Was that intentional? If not, this fixes that.