Actually just do:

```js
counts.push({
  component: component,
  count: contributors.length
};
```