Count query working again