The owner of the whippet said that the dog 'is extremely lucky to be alive' - and the sandpit has since been removed