This is a bit tricky.
Here is one method to count just the overlapping days in February (or any other time period):
select sum(datediff(least(to_date, date('2014-03-01')), greatest(from_date, '2014-02-01'))) as days
from table t
where to_date >= date('2014-02-01') and from_date < date('2014-03-01');