Manage the catalogueCount solely by triggers

catalogueCount is incremented/decremented through the use of triggers in
the platform.

Fixes #15