count threads rather than versions (bug 1090436)