Question: If all $5*5*5*5*5*5*5*5=5^8=390625$ 8-digit numbers obtained by arranging (permuting) the five digits $2, 3, 6, 7$ & $9$ with their replacements are arranged in the correct increasing order as follows
$$\begin{align} 22222222\\22222223\\22222226\\22222227\\22222229\\22222232 \\ \cdot \!.........\\ \\67329973\\ \bbox[4pt, border: 1px solid red;]{67329976}\\673629977\\ \cdot.........\\ \\99999992\\99999993\\99999996\\99999997\\99999999 \end{align}$$
How to determine the rank in the same increasing order of any randomly selected number say 67329976 (as highlighted in the above arrangement)?