def count_indexing_num(strt, end, step):
    """Counts the number of elements as result of numpy array indexing """
    num = (end - strt) // step
    if (end - strt) % step != 0:
        num += 1
    return num