In fact, if |G|=p^n and d(G)=d, then
|Aut(G)| divide the number (p^n-p^{n-d})(p^n-p^{n-d+1) ... (p^n-p^{n-1}). This result is due to P.Hall (1933)
Y.B.