\begin{tikzpicture}
  \begin{axis}[
    ybar,                            % Bar plot
    symbolic x coords={All sentences, Literal, Idiomatic}, % X-axis labels
    xtick=data,                      % Use symbolic coordinates as x-ticks
    %xlabel={Category},               % Label for x-axis
    ylabel={Count},                  % Label for y-axis
    ymin=0,                          % Start y-axis at 0
    ymax=80,                         % Set maximum y-axis limit
    bar width=20pt,                  % Bar width
    nodes near coords,               % Display values on top of bars
    every node near coord/.append style={font=\small}, % Font size for labels
    grid=both,                       % Enable grid lines
    enlarge x limits=0.4             % Add space around bars
  ]
    \addplot coordinates {(All sentences, 70) (Literal, 31) (Idiomatic, 39)};
  \end{axis}
\end{tikzpicture}