Trying to set-up a function inside the model below to count the length of an ArrayField whenever the instance is updated. The function def total_stocks_ca
ArrayField
total_stocks_ca