Using AI to estimate crowd sizes