I want just want number of rows i have matching few conditions, if databse.count was there then will had saved few resources, instead using databse.listrows
TL;DR
Developers seeking to efficiently retrieve the count of rows matching specific conditions can utilize the database.listrows method. This approach can help save resources compared to using database.count for the same purpose.