How to use [sqlite.scalar]
The reference page of sqlite.scalar has its arguments, constraints and declaration.
This slot executes SQL returning a single value, such as an aggregate, and sets the value of its own node to the result. It works like [data.scalar], except it always uses SQLite. Below is an example, counting the records of a table.
sqlite.connect:sakila
sqlite.scalar:select count(*) from actor