Is there a way to find out how many value-elements are in one array in all nesting levels?
I want to find out how many are in $_REQUEST
to give out a warning if the limit dictated by the max_input_vars
directive is nearly reached?
I want to count only the real values, so array-elements should not be counted if they are another array (see http://pastebin.com/QAKxxqJf)