Counting: added feature normalization to solve numerical issues