merge success and count with wrapup only if wrapup is a hash