What should I do if my synagogue counts the Omer before nightfall?
It is preferable to wait until nightfall, but you may count with the congregation without a blessing to guard against forgetting later. Make the count conditional: if you remember at night, the earlier count is not intended to fulfill the mitzvah. You may then count at night with a blessing; if you forget, the earlier count allows you to continue with a blessing the next evening, relying on the opinions that permit early counting.
A practical halachic question: the final ruling is for your rabbi.
The source brings differing opinions.
Quote from the source«Shulchan Aruch rules that one should preferably wait until after nightfall to count.»
- Author
- Shulchan Aruch
- Source
- Parsha.net — Pesach73, p. 9