Optimize the stock_by_type/1 function.
Optimize the stock_by_type/1 function.

fcapovilla/open_pantry,openpantry/open_pantry,fcapovilla/open_pantry,openpantry/open_pantry,openpantry/open_pantry,fcapovilla/open_pantry,MasbiaSoupKitchenNetwork/open_pantry,MasbiaSoupKitchenNetwork/open_pantry,openpantry/open_pantry,MasbiaSoupKitchenNetwork/open_pantry,fcapovilla/open_pantry,MasbiaSoupKitchenNetwork/open_pantry