add count for number of solutions