Statistics for Community participation in the upgrading of informal settlements: theoretical and practical guidelines