countproduct函式?