added residential units
get number of elements from feature
added logging module