get declaration sum for all parties