what is the total number of fictional characters whose created by j . m . barrie and series is once upon a time ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_uri dbo_creator dbr_J._M._Barrie sep_dot var_uri dbo_series dbr_Once_Upon_a_Time_ attr_open TV_series attr_close brack_close