Chi-square tests for count data: Finding the p-value