When we calculate this gradient in the code - we add values with respect to every example. I thnik that this gradient should be divided by number of examples at the end (as it always is because of cost function). Is it true and there is an mistake in this programming assignment or I just misuderstood something?