Add field cound (static array) extraction, update AllocateData API for structure and enum deduction