<span class="" v-for="item in checkedInput">
{{item.products.length}}
</span> <span>
{{ productsCount }}
</span>computed: {
productsCount() {
return this.checkedInput.reduce((acc, i) => { acc+= i.products.length; return acc }, 0)
}
}