adding unit counts