code: def p_strokes(symbol, count):
      
      global stroke_prob
      assert count >= 1
      epsilon = 0.00000001
      if stroke_prob is None:
          misc_path = pkg_resources.resource_filename('hwrt', 'misc/')
          stroke_prob_file = os.path.join(misc_path,
                                          'prob_stroke_count_by_symbol.yml')
          with open(stroke_prob_file, 'r') as stream:
              stroke_prob = yaml.load(stream)
      if symbol in stroke_prob:
          if count in stroke_prob[symbol]:
              return stroke_prob[symbol][count]
          else:
              return epsilon
      return epsilon
docs: Get the probability of a written `symbol` having `count` strokes.
  
      Parameters
      ----------
      symbol : str
          LaTeX command
      count : int, >= 1
  
      Returns
      -------
      float
          In [0.0, 1.0]