handling unit count