- add support for counting resources and their relations
- fix accession field on plant editor
- cleanup
- handle saving plant and accession notes