would be most performant to store the “current cart” on the current user
then do current users > current cart > cart item > count

storing cart items on the cart is preferred also so that you’re not constantly doing searches to fetch it