Network Analysis - independent paths between vertices

Dear community

I am new here and I hope you can help me.
Currently I am writing my master thesis and trying to enrich it with a network analysis from R and igraph.
My question is: is there any possibility to count independent paths between two vertices with one command?

I am looking forward to hearing from you.

Thank you in advance.
Blackeagle1903