Add filter, nnz, and qualitative parameter to sum