change count query