Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count". git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82