fix param validation
if no results acquired from database set 0 count