New command 'stat' for the index program.