It is difficult to say the exact time. Rather than giving you the exact time of the kneading in the stand mixer, you should look for several signs. There should be no dry ingredient present in the dough. The dough should pull away from the side of the bowl (see the photo below), leave it clean, and collect onto the hook. Also, the feel of the dough is something you should check as well. The dough shouldn't be too sticky (This means it has too much water. Add a little more flour) or too dense (This means the dough is too dry. Add 1/2 tablespoon of water at a time and continue to knead in the stand mixer).