const params = { TableName: Table(), Select: "COUNT", }; const count = await dynamoDb.scan(params).promise();