public function getViewInfo($viewer_guid = 0) {
		if ($viewer_guid == 0) {
			$viewer_guid = elgg_get_logged_in_user_guid();
		}

		$count = elgg_get_annotations([
			'guid' => $this->getGUID(),
			'annotation_name' => 'tp_view',
			'count' => true,
		]);
		if ($count > 0) {
			$views = elgg_get_annotations([
				'guid' => $this->getGUID(),
				'annotation_name' => 'tp_view',
				'limit' => false,
				'batch' => true,
			]);

			if ($this->getOwnerGUID() == $viewer_guid) {
				// get unique number of viewers
				$diff_viewers = [];
				foreach ($views as $view) {
					$diff_viewers[$view->owner_guid] = 1;
				}
				$unique_viewers = count($diff_viewers);
			} else if ($viewer_guid) {
				// get the number of times this user has viewed the photo
				$my_views = 0;
				foreach ($views as $view) {
					if ($view->owner_guid == $viewer_guid) {
						$my_views++;
					}
				}
			}

			$view_info = [
				"total" => $count,
				"unique" => $unique_viewers,
				"mine" => $my_views,
			];
		}
		else {
			$view_info = [
				"total" => 0,
				"unique" => 0,
				"mine" => 0,
			];
		}

		return $view_info;
	}