calculate domain plugins count on server start