AMBARI-5981 Hosts API should provide count of filtered hosts. Additional Patch. (dsen)