Getting the count() aggregate to work.