added getProgramStats function to ProgramPaginatorComponent