Calcuated memory for CorpusCount.