>>7471in java its just
private static void printGuessStats(char canidate, int count) {
String GuessStat = String.format(
"There %s %s %s%s",
((count == 1) ? "is" : "are"),
((count == 0) ? "no" : count),
canidate,
((count == 1) ? "" : "'s")
);
print(GuessStat);
}