This question already has an answer here:
- Determine the depth of an array 37 answers
Find out the dimension of a simple nested list:
 -> 1 [] -> 2 [[]] -> 3 ...
List taken as input, dimension as output. No counting length of strings - list manipulation and loops only. i.e. no getting the length of the input and dividing by 2.
Any language is permitted. Get golfing!