[bug][SanCoder] - fix the count of cart is always zero in login.erb, admin.erb, etc.