Added some statistics to the function splitter