Use SUM
función para sumar count
columna y use DATE_FORMAT
función para agrupar solo por fecha.
SELECT DATE_FORMAT(detectDate, '%Y-%m-%d') AS detectDate
,infection
,SUM(`COUNT`) as `count`
FROM myTable
GROUP BY DATE_FORMAT(detectDate, '%Y-%m-%d'), infection