  In this article, we introduce a non-negative integer valued function that
measures the obstruction for converting any topological isotopy between two
Legendrian knots into a Legendrian isotopy. We refer to this function as Cost
function. We show that the Cost function induces a metric on the set of
topologically isotopic Legendrian knots. Hence the set of topologically
isotopic Legendrian knots can be seen as a graph with path-metric given by the
Cost function. Legendrian simple knot types are shown to be characterized using
Cost function. We also get a quantitative version of Fuchs-Tabhachnikov's
theorem that says any two Legendrian knots in $(\mathbb{R}^3, \xi_{st})$ become
Legendrian isotopic after sufficiently many stabilizations. We compute the Cost
function for torus knots (which are Legendrian simple) and some twist knots
(which are Legendrian non-simple). We investigate the behaviour of Cost funtion
under the connect sum operation. We conclude with some question about the Cost
function, and its relation with the standard contact structure and the
topological knot type.
