Add invalid registration count exception
Remove document_count check

The document count is currently always present in transactions,
there's no need to test for this key.
Validate registration count where approriate