Make counts in sidebar accurate.