Add statistics tabs for query and index.