Fix bug where details view was not showing the count at all