def parse_route_flow_counter_stats(dut):
    """Parse command output of "show flowcnt-route stats"

    Args:
        dut (object): DUT object

    Returns:
        dict: Parsed result. e.g. {'1.1.1.0/24': {'packets': '5', 'bytes': '4500'}}
    """
    stats_list = dut.show_and_parse('show flowcnt-route stats')
    parse_result = {}
    for stats in stats_list:
        if stats['vrf'] == 'default':
            key = stats['matched routes']
        else:
            key = '|'.join([stats['vrf'], stats['matched routes']])
        parse_result[key] = {
            'packets': stats['packets'],
            'bytes': stats['bytes']
        }
    return parse_result