The SQLite COUNT function is used to retrieve total count of an expression.
Syntax:
SELECT COUNT(aggregate_expression) FROM tables [WHERE conditions];
SELECT COUNT(aggregate_expression)
FROM tables
[WHERE conditions];