Making a query count block for Gutenberg

Helpful links from Tom Rhodes:

https://developer.wordpress.org/block-editor/reference-guides/block-api/block-context/

https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/query/block.json#L43

See how the query pagination handles the context