You can calculate fraction of sp3 atoms in command line for a table 't'
add column t Rarray(Nof(t.mol,"[!H;^3]")) / Nof( t.mol, "[!H]" ) name="sp3_fract"
In GUI you can do this in few steps: