Solved
How to get a SQL Query result as an integer
I am using a SQL query that looks something like this:
SELECT COUNT(*) FROM Location
When I test it, I get the following:
How do I get that as an integer datatype? Because I need to bind this value to a label widget or any widget that displays values.
I have tried changing the output basetype to integer and it still does not work.

