Using the Length tool. Scale a line to 400mm using Calibrate. Then hit esc one time, then click on it again to highlight the line, on the properties window, at Subject, give it a description. Example 50 x 100 x 2450 Metal Stud. Hit esc. Then click the measurement. Now go into Columns Manager, in the Dialog Box click Custom Columns tab, click Add, in the name box call it Stud Count, in the Type box click the drop down and click Formula. Now in Expression box type Length/400. In the Format box click Normal, then set the decimal places desired then click OK. Now in the Dialog Box click Save to Profile then click OK.
Now save this length tool to your Tool Chest. In the tool Chest where this new Markup is, click it, put it on the sheet close to where you want it. Then drag one end of it to the start point of the measurement and the other end to the end point. If you check your properties panel, under Custom Columns, it should show Stud Count and a number there. That number, even tho in decimal, represents how many studs you need in that length.
For the additional studs, just make a small rectangle using the rectangle markup tool. Give it the same name as the length "50 x 100 x 2450 Metal Stud" this way it will sort in the Subject Markup List properly. Now just save this to the same tool chest. Click on it, and click it onto the sheet near the length area where you want the extra studs. The rectangle is now a stud count tool.
There is another method that is more fun because it save a lot of time and allows you to have a tool ready with the extra studs for a door or just a regular wall or a wall where another wall intersection. Kinda lengthy to write the procedure, it would sound difficult which it not. I call call it assembly is absolutely simple.
Here is a brief explain. Use the new stud tool. Let use a wall 10'-0" long. You have and intersecting wall in the middle. So lets say you need 2 extra studs aat the end of the walls and 3 extra studs at the intersection.
So with the stud tool, click 5 of them on the sheet. Then group these five. Then highlight the group and give it a name- "One Intersection Wall". Save this group to tool chest.
Now the fun, lets remember you gave these five studs a group name, you don't want that group name in the markup list, you want count. When you place this markup on the sheet, ungroup it and all five studs become a count with the right description on the subject for each.
When you give a group a name, the items in that group do not inherit the name, they just become a group. These item retain the original subject name and Cost and Labor if you had that already established in the Custom Columns Properties window. Have Fun.