Add totalnum