Fix parsing of $value and $count in the URL path