Get prepared stmt count working for real