helper to get the first int value in a query Useful for COUNT(*) queries
int? firstIntValue(List<Map<String, Object?>> list) { return parseInt(_firstValue(list)); }