Adds support for Count operator translation to relational.

Doesn't this cause a spurious error when there's more than one matching row?