Still count in query does not work