code: public static int getHFTACount(File fileLocation) {
      Document qtree = getQTree(fileLocation);
      int count;
      count = qtree.getElementsByTagName("HFTA").getLength();
      return count;
    }
docs: This method returns the number of HFTA processes to be instantiated by parsing the qtree.xml file
  @param fileLocation Directory that contains the qtree.xml file
  @return The number of HFTA processes to be instantiated
  @throws IOException