Fix SQL-Haskell type mismatch (count(*) results are BigInt)
(followup to b5825b5)