search_posts_count()

Client.search_posts_count()

Get the count of posts with hashtag resulting from a search.

If you want to get the actual posts, see search_posts().

Usable by Users Bots
Parameters:

hashtag (``str``) – Text query string.

Returns:

``int`` (On success, the posts count is returned.)