LPS-46927 Do not increment counter when generating previews

Hey Brian,

Rebased this pull: https://github.com/brianchandotcom/liferay-portal/pull/18627#issuecomment-43556116

Thanks!