<script type="text/javascript">
$(document).ready(function(){
String.prototype.trimToLength = function(m) {
return (this.length > m)
? jQuery.trim(this).substring(0, m).split(" ").slice(0, -1).join(" ") + "..."
: this;
};
$(".metal-counts").trimToLength(2);
});
</script>