A user equipment, UE, for counting a number of physical downlink shared channels, PDSCHs, or physical uplink shared channels, PUSCHs, per slot in order to determine a capability of the UE, the UE comprising: a transceiver; and a processor configured to: count all PDSCHs or PUSCHs that the UE is scheduled or configured to receive or transmit per slot, respectively, except for: exception 1: when the UE receives a physical downlink control channel, PDCCH, which ends in a symbol i and includes downlink control information, DCI, scheduling a dynamic grant, DG,-PUSCH that overlaps in time with a configured grant, CG, PUSCH starting in a symbol j on a same serving cell, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH, exception 2: when the UE receives a PDCCH, which ends in a symbol i and includes DCI scheduling a DG PUSCH on a serving cell for a hybrid automatic repeat request, HARQ, process number, HPN, and the UE is allowed to transmit a CG PUSCH with the same HPN starting in a symbol j, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH; and generate UE capability information based on the counted number of the PDSCH or PUSCH per slot. a transceiver; and a processor configured to: count all PDSCHs or PUSCHs that the UE is scheduled or configured to receive or transmit per slot, respectively, except for: exception 1: when the UE receives a physical downlink control channel, PDCCH, which ends in a symbol i and includes downlink control information, DCI, scheduling a dynamic grant, DG,-PUSCH that overlaps in time with a configured grant, CG, PUSCH starting in a symbol j on a same serving cell, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH, exception 2: when the UE receives a PDCCH, which ends in a symbol i and includes DCI scheduling a DG PUSCH on a serving cell for a hybrid automatic repeat request, HARQ, process number, HPN, and the UE is allowed to transmit a CG PUSCH with the same HPN starting in a symbol j, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH; and generate UE capability information based on the counted number of the PDSCH or PUSCH per slot. exception 1: when the UE receives a physical downlink control channel, PDCCH, which ends in a symbol i and includes downlink control information, DCI, scheduling a dynamic grant, DG,-PUSCH that overlaps in time with a configured grant, CG, PUSCH starting in a symbol j on a same serving cell, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH, exception 2: when the UE receives a PDCCH, which ends in a symbol i and includes DCI scheduling a DG PUSCH on a serving cell for a hybrid automatic repeat request, HARQ, process number, HPN, and the UE is allowed to transmit a CG PUSCH with the same HPN starting in a symbol j, wherein a beginning of the symbol j is at least N_2 symbols after an end of the symbol i, the CG PUSCH is not counted, wherein N_2 is a number that provides the UE enough time to cancel the CG PUSCH and prioritize the DG PUSCH; and generate UE capability information based on the counted number of the PDSCH or PUSCH per slot.