Single photon counting with two quantum dots capacitively coupled