Details page: added a counter to avoid confusion in the case when deleting two items with the same name and quantity