account for the case where answer_count is 0 when exit the loop
fix counting the tag in mapper