read: Fix getting the number of 'url ' boxes.

This is a regression in 45e48b5 .
chapter: 'tref' and 'udta' boxes can exist in each container box up to one.

Fix a regression in 45e48b5 .
chapter: Cosmetics.