message: Store file count on `file_count` event for future use
  Fixes an undefined length issue introduced by
diff: @@ -59,6 +59,7 @@ export default async function processDeployment({
  let queuedSpinner = null;
  let buildSpinner = null;
  let deploySpinner = null;
  + let fileCount = null;
  for await (const event of createDeployment(
  nowClientOptions,
  @@ -81,6 +82,7 @@ export default async function processDeployment({
  debug(
  `Total files ${event.payload.total.size}, ${event.payload.missing.length} changed`
  );
  + fileCount = event.payload.missing.length;
  const missingSize = event.payload.missing
  .map((sha: string) => event.payload.total.get(sha).data.length)
  @@ -111,13 +113,7 @@ export default async function processDeployment({
  now._host = event.payload.url;
  if (!quiet) {
  - log(
  - `Synced ${pluralize(
  - 'file',
  - event.payload.missing.length,
  - true
  - )} ${uploadStamp()}`
  - );
  + log(`Synced ${pluralize('file', fileCount, true)} ${uploadStamp()}`);
  const version = isLegacy ? `${chalk.grey('[v1]')} ` : '';
  log(`https://${event.payload.url} ${version}${deployStamp()}`);
  } else {
  @@ -187,6 +183,8 @@ export default async function processDeployment({
  }
  }
  } else {
  + let fileCount = null;
  +
  for await (const event of createLegacyDeployment(
  nowClientOptions,
  requestBody,
  @@ -200,7 +198,7 @@ export default async function processDeployment({
  debug(
  `Total files ${event.payload.total.size}, ${event.payload.missing.length} changed`
  );
  -
  + fileCount = event.payload.missing.length;
  const missingSize = event.payload.missing
  .map((sha: string) => event.payload.total.get(sha).data.length)
  .reduce((a: number, b: number) => a + b, 0);
  @@ -230,13 +228,7 @@ export default async function processDeployment({
  now._host = event.payload.url;
  if (!quiet) {
  - log(
  - `Synced ${pluralize(
  - 'file',
  - event.payload.missing.length,
  - true
  - )} ${uploadStamp()}`
  - );
  + log(`Synced ${pluralize('file', fileCount, true)} ${uploadStamp()}`);
  const version = isLegacy ? `${chalk.grey('[v1]')} ` : '';
  log(`${event.payload.url} ${version}${deployStamp()}`);
  } else {
  