re-enabled appointment count update in view