I'd say there can be a large number of temples in a community of 2,000.
I grew up in a small, rural agricultural town with a population of about 2,000. We had well over a dozen churches, maybe about a dozen if you excluded some that really were on the outskirts and had more worshippers from out in the county. You had two or three large mainstream churches with large attendances, a few independent smaller churches scattered around, one church on the edge of town that people treated with caution because it belonged to a controversial denomination, and a few tiny churches which were little more than a small shack where two or three dozen people would get together regularly and pray with a lone pastor.
The larger churches had regular attendance of well over 100 every Sunday, while the smaller ones may have only two or three dozen parishioners.
In a fantasy setting, this means that 2000 people can easily support a large number of temples to a significant number of deities, a small pantheon might even have a temple to each god.
In terms of Clergy, the standard demographics rules in the DMG (p 137-139) give a town of 2,000 people "Small Town" status, which means it's perfectly possible to have an 8th level cleric or druid, and around 3 dozen clergy in total (Clerics, Druids, Monks and Adepts), who can easily staff many temples (especially since only one or two are needed for smaller shrines and prayer houses).