Add test for $inlinecount parsing
Merge branch 'fix-inlinecount' into combined