Sree,
This might help you to resolve your issue.
SELECT COUNT(*)+1
FROM
(
SELECT SUBSTR(SENT,POS,1) SINGLE_CHAR
FROM
(SELECT 'COUNT WORDS FROM THIS SENATANCE FOR ME' SENT) A,
(
SELECT ROW_NUMBER() OVER (ORDER BY 1) Pos
FROM sys_calendar.CALENDAR
) B
WHERE POS <= CHAR_LENGTH(SENT)
) B
WHERE SINGLE_CHAR = ''
Sree,
This might help you to resolve your issue.