Added totalItems for pdcards.