alternate way to get count if 0
fixed logique
timetime