Filters an array based on the provided expression, a helper for complex array filtering
Sum all the values of an array