Grabs the number of comments from xml.
Needs to implement the number of comments to the loop so it only loops
until that number is reached.