BREAKING CHANGE: return count query result as {:count ...} to allow :next-token metadata, so that long-running count queries can be continued if necessary