trim_stress: Only look at files matching [0-9]*.png when counting references