[MERGE] fix tracefile count in index open

Signed-off-by: David Goulet <dgoulet@efficios.com>