Get topic count correct as snippets are added and deleted