from typing import List


def sum_pots(pots: List[bool], offset: int) -> int:
    """
    Sums the pots by their index
    :param pots: Pots and their values (alive/dead)
    :param offset: The offset from the start to the zero index
    :return: The sum of all indices with alive plants
    """

    return sum(i - offset for i in range(len(pots)) if pots[i])