Bounds check numbers.count in the demo to avoid crash when there are no items


Closes #4