implemented a getKillCount method