If you dive in, yes, that wouldn't count. But if you gently descend and land on the water, and let the plane sink, then it counts. The Indonesian pilot a couple of years ago had a pretty sophisticated flight simulator at home where he could practice those types of maneuvers.
What Indonesian pilot was that?