Added count with condition