function countDataFiles (pages) {
  let count = 0
  count += (pages.company ? 1 : 0)
  count += pages.products.length

  return count
}
function countDataFiles (pages) {
  let count = 0
  count += (pages.company ? 1 : 0)
  count += pages.products.length

  return count
}
function countDataFiles ( pages ) { let count = 0 count += ( pages . company ? 1 : 0 ) count += pages . products . length return count }
Count the number of products/company in the presskit.
Count the number of products / company in the presskit .