async def METHOD_NAME(request, response):
    controller = Controller.instance()
    symbol_id = urllib.parse.unquote(request.match_info["symbol_id"])
    try:
        width, height, _ = controller.symbols.get_size(symbol_id)
        symbol_dimensions = {'width': width, 'height': height}
        response.json(symbol_dimensions)
    except (KeyError, OSError, ValueError) as e:
        log.warning("Could not get symbol dimensions: {}".format(e))
        response.set_status(404)