<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def p_strokes(symbol, count):
 """ 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] """

    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