HADOOP-10131. NetWorkTopology#countNumOfAvailableNodes() is returning wrong value if excluded nodes passed are not part of the cluster tree (Contributed by Vinayakumar B)

(cherry picked from commit eab15af12c114eef4e9abd9af2ba03b0ab2cc441)