allow for translation of 0 items

The old code was really wasteful--should have just fetched the value or
set it to zero, then used it generically.