How to get the SUM of custom made query
The easiest is to wrap your query in a derived table or CTE and then do SUM :

SELECT sum(ProfitRecycle) AS SumProfitRecyxle
FROM
    (
    -- 
    -- your query here
    --
    ) AS dv ;