Number of recordings on DSLR unchanged despite deletion?

pa
1

I deleted several hundred pictures from the memory card of my Canon DSLR on my laptop. (SD card was in the SD card slot - images removed manually)
Nevertheless, the number of still possible recordings on the camera display has not changed. However, the deleted pictures are also gone.
Only when I delete more pictures directly from the camera does the number of still possible pictures change.
Does anyone happen to know where the problem could be?

El

The image is not deleted, only the directory in which the image is located. Defragment the SD card, then the deleted images should really be gone. Otherwise, save the pictures in a directory on the PC, then format the SD card in the camera (not from the PC) and play the pictures from the PC back onto the SD card.