def getMaxColumns(rows):
    """
    Return number max of columns from rows
    :param rows: list of rows <tr>
    :return: int
    """
    maxColumns = 0
    for row in rows:
        count = float(row.xpath('count(*)').extract()[0])
        if count > maxColumns:
            maxColumns = count
    return int(maxColumns)