Add assertCount() method.
Migrate OrderBasePersistence to SimpleJPA.