Consider the following code segment int num = 1; int count = 0; while (num <= 10) { if (num % 2 == 0 && num % 3 == 0) { count++; } num++; } What value is stored in the variable count as a result of executing the code segment? A. 1 B. 3 C. 5 D. 7 E. 8