Your for loop appears broken. Take a step back and write down in plain English what the program should do:
1) Read one line from user input
2) While the line has another integer:
2.1) Increase total count of integers
2.2) If the integer is even:
2.2.1) Increase total count of even integers
3) Print total count of integers and total count of even integers
Now solve each step separately.
Test your program in between solving steps, and make sure it does what you expect it to do. For instance, print the line after step 1) to make sure it's the same as you've entered.
You seem to have trouble with step 2). Look in the Scanner class for a very useful method.