code: def get_global_count(self):
          
          
          # Check current number of json files in results directory and dump current json in new file
          path_to_json = self.results_folder_name + '/'
          json_files = [pos_json for pos_json in os.listdir(path_to_json) if pos_json.endswith('.json')]
          Wrapper.global_count = len(json_files) + 1
          return Wrapper.global_count
docs: Return global count (used for naming of .json and .png files) 
  
          Returns
          -------
          int
              Global count