resolved count issue