CREATE OR REPLACE FUNCTION count_rows_where ( table_name IN VARCHAR2, v_field1 IN VARCHAR2 DEFAULT NULL, v_value1 IN VARCHAR2 DEFAULT NULL, v_field2 IN VARCHAR2 DEFAULT NULL, v_value2 IN VARCHAR2 DEFAULT NULL, v_field3 IN VARCHAR2 DEFAULT NULL, v_value3 IN VARCHAR2 DEFAULT NULL ) RETURN NUMBER AUTHID CURRENT_USER IS num_rows NUMBER; stmt VARCHAR2 (2000); BEGIN IF v_field1 IS N..