Gets the size of this registry, which is the number of registered elements.
the size of this registry