To check if a View returns any results at all or count the results (amount of posts) of the View, you can use the function get_view_query_results()
An example
$filtered_posts = get_view_query_results( 21 );//change to ID of first View $all_out = count($filtered_posts);
Example Threads:
https://wp-types.com/forums/topic/conditional-output-with-found-count-or-items-count
https://toolset.com/forums/topic/view-filter-and-sorting/