A soma da função (texto) não existe após o dia
SELECT SUM(text::int)
FROM yourTable;
Homemadesteam58
SELECT SUM(text::int)
FROM yourTable;