Add model migration code to source control.
Fix agreement count bug when getting continent and country places.