Use of telegraf [inputs.httpjson] to provide json sub elements

What is the best method to obtain a more complete set of data from the httpjson plugin for the sub elements in a json hierarchy? For example, given the below json result how could the httpjson (or alternative) plugin provide the ability to create graphs in influx from the payload attributes “count” and “max”
{“result”:{“op”:“check”,“payload”:{“count”:“10”,“max”:“100”}},“status”:“ok”}

Which version of telegraf would support the capability and which plugin should be used?
Current version: Telegraf v1.5.2

We have added some new options in the latest Telegraf (1.8.3) that might be helpful, in particular you may want to look into the json_query and json_string_fields options. The direct replacement for httpjson is the http input.