Get worker instance id and count from context

Expose the ``instanceCount`` and ``instanceId`` for ``ServiceWorker``s. These properties already existed, but were not exposed to the user.