Added view_count increments to paste/view_index()