store the count of pizza in localStorage