I want to add a visual counter in the header of each slide using beamer, I attached a photo which indicates what I want to happen. Also, I want to add a number inside the circle, indicating the section number. Unfortunately, i don't know how to do it. Can someone help me on this.
Kindly disregard the white background in the visual counter, I just pasted it using Microsoft PowerPoint. I attached my code below:
\documentclass{beamer}
\mode<presentation> {
\usetheme{Madrid}
}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{ragged2e}
\usepackage{braket}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{array}
\usepackage{graphicx}
\setbeamertemplate{caption}[numbered]
\usepackage[caption=false]{subfig}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc,shapes}
\newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
% Footnote Font
\setbeamertemplate{footnote}{%
\tiny%
\parindent 1em\noindent%
\raggedright
\hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
}%
\setlength\footnotesep{0pt}
\usefonttheme[onlymath]{serif}
\begin{document}
%------------------------------------------------
\section{Objectives}
%------------------------------------------------
\begin{frame}
\frametitle{\textbf{Objectives}}
\justifying
\begin{itemize}
\item{We study nonequilibrium physics using the simplest way of taking an
isolated quantum system out of equilibrium: a \textit{quantum quench}.}
\end{itemize}
\end{frame}
\end{document}

