add simple index action which returns the trace count