Type fixes for Count and scheduledTransferPeriod