Reducing with 0 when value is not there - TypeDB