pub async fn count_apps(pool: &Pool<MySql>) -> Result<i64>
Expand description
Counts the total number of applications in the database.
This function retrieves the total count of applications, which can be useful for pagination or reporting purposes.