code: def namedb_get_num_block_vtxs( cur, block_number ):
       
      select_query = "SELECT vtxindex FROM history WHERE history_id = ?;"
      args = (block_number,)
  
      rows = namedb_query_execute( cur, select_query, args )
      count = 0
      for r in rows:
          count += 1
  
      return count
docs: How many virtual transactions were processed for this block?