check count before privileges