Use this method to retrieve the number of test steps where the checkpoint image matched the baseline image.
int value = result.getMatches();