Show counts in the search result table

Taking over PR #1055 from @kyungmin