alloe counting with limit and offset