moved progress information to countResult