population counting exercise