check number of answered questions js