A gardener has to mow his square shaped yard that has an area of 784 square yards. He has to trim the edges before beginning. How many total yards does he have to trim?​