There is nothing wrong with going to a church function, worship or otherwise, but let's not allow the idea of church attendance to take on a life of its own.
People have a weakness for thinking bigger is better.
I will agree that, in terms of God's total church, the more members there are the better. Jesus died for all the people who were to ever live on this planet. When it comes to congregations though, I know of no scriptural mandate for how small is too small, or how big is big enough. Where two or three are gathered together. . . Notice , He didn't even begin at three but rather two.