renamed countc to countb