Statistics for Asymptotic giant branch variables in NGC 6822