collect Failure Statistics
Adds two statistics for this resource's failures, whether they come from failures or from calls of fail: the proportion of time it is failed (PTimeFailed) and the number of failures in a replication (NumFailures). Without them the failed state still keeps its own times, and no element is added to the model. Called while the model is not running; a second call does nothing.