In determining the population of each district, inmates of such public or private institutions as prisons or other places of correction, hospitals for the insane or other institutions lousing persons who are disqualified from voting by law shall not be counted.