Fix LazyQuery.count to not return a hash.