For indices and counters use `ctypedef np.npy_intp SIZE_t` instead. It is safer.