count with discount