select NAME, COUNT(*) from DATATBL group by NAME