import { Indexer } from "https://deno.land/x/indexer@v1.0.0/indexer.ts";
Returns the next index number and increments the index number.
It starts from 0 and increments the index number by 1 each time it is called. It resets the index number and returns 0 if the index number is greater than or equal to the max.