import re


def get_table_bars(table):
    """
    Receives a results table
    Returns a list of bars/pipes (|) per line
    """
    return [len(re.findall(r"\|", line)) for line in table.split("\n")]