Finished implementation of 'number of card buttons'

If we can't parse it, we backtrack and parse 'number of <object>' instead.