updating answerCount() to include operator variable for more extensibility