duration formatting with limited count of items

see issue #116