I have figured it out and most free code converter cannot convert LINQ
Public Function GetCount() As Integer
Dim count As System.Nullable(Of Integer) = (From cartItems In storeDB.Carts Where cartItems.CartId = ShoppingCartId Select (CType(cartItems.Count, System.Nullable(Of Integer)))).Sum()
Return If(count, 0)
End Function
Public Function GetTotal() As Decimal
Dim total As System.Nullable(Of Decimal) = (From cartItems In storeDB.Carts Where cartItems.CartId = ShoppingCartId Select CType(cartItems.Count, System.Nullable(Of Integer)) * cartItems.Album.Price).Sum()
Return If(total, Decimal.Zero)
End Function