JQuery Get Name Value -Methode
var n = $("input[name^= 'card']").length;
Graceful Gharial
var n = $("input[name^= 'card']").length;