Running headers and footers go on master pages, not in text frames, though I am not sure whether the latter is forbidden or just not done. So, if you put the running header/footer on a master page, then define it as <$elemparanum[CardTitle]>/<$lastpagenum>, which will insert the paragraph autonumber of the CardTitle element, followed by a slash, and then the number of the last page.