Add count-frames for beamer presentations.