[Solved] Split on every fourth comma in a string and count


var cnt = (thestring.Count(x => x == ',') + 1) / 4;

7

solved Split on every fourth comma in a string and count