Otherwise , when lower - case , imam refers to prayer leaders in the mosque .
Various Shia sects have different numbers of Imams .
When lower - case , imam refers to prayer leaders in the mosque .
Various Shia sects have different numbers of Imams .