Separate queries to a public BigQuery dataset each return the number of words in a document, or set of documents. A shared variable allows the count of the words to accumulate and be read after all the iterations complete.
Explore further
For detailed documentation that includes this code sample, see the following:
Code sample
YAML
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.