corrected error in mapper_count