Spain has counted 301 new virus deaths, a lower figure than the previous day, bringing the overall toll to 23,822, the health ministry says.