@contract
def estimate_probability(data, window_size, state):
    return float(data.count(state)) / window_size
List Unseen mail (equivalent to "search -t unseen").
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/overload/mhod/multisize_estimation.py/estimate_probability--crossover with--dataset/ETHPy150Open Gentux/imap-cli/imap_cli/scripts/imap_shell.py/ImapShell.do_unseen