Get the count of messages resulting from a global search.
If you want to get the actual messages, see
search_global().Usable by Users Bots
str, optional) – Text query string. Use “@” to search for mentions.
MessagesFilter, optional) – Pass a filter in order to search for specific kind of messages only:
int– On success, the messages count is returned.