uint32 CalculateEventSpawnCount ( const [FNiagaraEventScriptProperties](API\Plugins\Niagara\FNiagaraEventScriptProperties) & EventHandlerProps, [TArray](API\Runtime\Core\Containers\TArray)< int32, TInlineAllocator< 16 >> & EventSpawnCounts, [FNiagaraDataSet](API\Plugins\Niagara\FNiagaraDataSet) * EventSet )