docs: def calc_log_size(request, calc_id):
      """
      Get the current number of lines in the log
      """
      try:
          response_data = logs.dbcmd('get_log_size', calc_id)
      except dbapi.NotFound:
          return HttpResponseNotFound()
      return HttpResponse(content=json.dumps(response_data), content_type=JSON)