Incredible 17th century lock that counted how many times it was used