Add pending counts to sidebar