[linux] counting number of directories in a specific directory