Hello photoscan_user,
You can access the total number of tie points by using tracks concept:
total_points = len(chunk.point_cloud.tracks
The number in the Workspace for tie points represent the number of valid points from the chunk.point_cloud.points, so you can get this number by the following command:
valid_tie_points = len([p for p in chunk.point_cloud.points if p.valid])
Switching the valid flag to False to the point from the point_cloud is similar to removing the point from the sparse cloud in the Model view.