REST endpoint for pindex count, for cancelability