Keeps track of visual components for updating; fixed issue with count

Issue with count wasn't actually with count, it was a problem that had
already been resolved with the way things were written to the DB
(multiple counts were being added before, is no longer the case)