Only increase total_count if it is smaller than sf_count