import glob


def get_n_files(fname='wgl_1.txt', in_dir='.'):
    """Return the number of cross-correlation ascii files in
       subdirectories.
    """

    files = glob.glob('{}/*/{}'.format(in_dir, fname))

    return len(files)