lock count