How To Tell When Corn is Done With Boiling
It does depend on the corn.

Eat some raw... Notice the starchy taste (Still yummy, just starchy)

What you want to do is boil it just enough to drive out the starchy taste.

I would get 3 cobs, break them in half, and pull one out every minute.

Then have a taste test.