ajout count island pseudo code