Using SurrealDB. is there a way that I can get the total amount of records for a query, like you would do in traditional SQL databases?
select count(*) from person
Yes, it would be
SELECT count() FROM person GROUP BY count
See more here: https://surrealdb.com/docs/surrealql/functions/count