I'm getting confused about
site:example.com and "Index Status" part in Google Webmaster Tools.
site:example.com list four pages but "Index Status" has a 0 as "Total Indexed".
I don't know what's the difference between these two.
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
Google Search Console doesn't show accurate data most of the time and it takes some time to update the data while "site:" will show you exact and real time website index data.
So I would suggest you to wait for Google Search Console data to be updated. Don't depend solely on the data of the Search Console.
Also have a look at this answer for in depth explanation: Number of indexed pages with "site:" search less than reported in Google Webmaster Tools