returns 'Person' if personCount is 1 otherwise it returns 'People'.
personCount
static String getPersonSet(int personCount) { if (personCount == 1) { return "Person"; } else { return "People"; } }