extract documentCount