prettier card count ui