use lockcount for trimble output