Create countinvsplit.c