Optimize counting totals for genres, albums, artists, titles