Adding count() function.
Implementing log paginator.
Renaming prev_next id to more meaningful #paginator
Making paginator a reusable widget.