feature count sql add

Signed-off-by: moguonyanko