add query result count and first hack at indri query app