At the present time, I believe it is still four. Time not only counts, but is actually inseparable from the three we perceive purely spatially according to relativity.
String theory, and its descendants, needs additional spatial dimensions in order to work out. Six more (for a total of ten) for the major original string theories and seven more (eleven total) for the still-notional “M theory” that is proposed to connect these theories together along with another separate theory (10-dimensional supergravity). There is a 26-dimensional string theory, but has it only has forces (bosons) and not matter (fermions) as well as faster-than light solutions (tachyons). These extra spatial dimensions are usually posited to be “closed-up” on a very small scale so as not to conflict with the present state of our observations. The frequently used analogy being: a cable seen from a great distance appears one-dimensional, but an ant crawling on it can access the second closed-up dimension on the surface and move around the cable as well as along it.
Normally, it is assumed the scale on which this closing-up happens is on the order of the Planck length, which is 1.616… x 10^-35 meters. This is small. For comparison, a proton is revealed is having internal structure (three quarks swarming around) on the scale of 1×10^-15 meters. As small as protons are to us (fifteen orders of magnitude), the Planck length is much smaller to the proton (twenty orders of magnitude)!
This presents a problem: how can we ever observe these extra dimensions directly if they really do exist? And the answer is never for all practical purposes if they are this tiny. Any experimental verification will be indirect.
I have read that have been some suggestions that extra dimensions may actually exist on a scale much, much larger than the Planck Length – verging on the macroscopic – and yet have eluded our notice. The last I heard, IIRC, was that they combing the data from the Tevatron at Fermilab to come up with some support for the idea, but that was a few years ago now.
There’s nothing to rule out our being embedded in a higher-dimensional spacetime which we cannot access and does not interact with us (or at least not usually). This has been a topic of speculation going back to ancient times. Infinity and the Mind by Rudy Rucker has a short and sweet exposition of the history of these notions. The modern version of this coming out of the development of string theories has our universe existing as a brane floating about within the bulk (see: brane cosmology).