Catch 1
select count(SongId) from chartsquery
RowsCount=0Catch 1B
select count(SongId) from chartsquery where (genre='All Genres')
RowsCount=0