adds thread and messages count