First version of a CallChainParser that counts the number of calls (-> and . ) used in a statement. Differentiates (maybe wrongly?) between nested call chains and the "outer" call chain.