If you are in the search results template then you can find out the count by using the below code.
global $wp_query;
$count = $wp_query->found_posts
variable $count
contains the count of post against the search.
If you are in the search results template then you can find out the count by using the below code.
global $wp_query;
$count = $wp_query->found_posts
variable $count
contains the count of post against the search.